package com.ctgu.server.service;

import com.ctgu.server.dao.dto.ArticleDto;
import com.ctgu.server.dao.entity.Article;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ctgu.server.dao.vo.Result;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ctgu
 * @since 2023-05-23
 */
public interface ArticleService extends IService<Article> {

    Result insertArticle(ArticleDto articleDto);

    Result getArticleById(Long id);

    Result updateArticleById(ArticleDto articleDto);

    Result getArticleList();
}
